package com.erp.framework.util.excelupload;

import com.erp.framework.util.logger.Logger;

public class ExcelCellVo {
	private String dbColumn;               //read only
    private String excelLabel;             //read only
    private String cellType;
    private String cellValue;
    
    public ExcelCellVo(String dbColumn, String excelLabel) {
		this.dbColumn = dbColumn;
		this.excelLabel = excelLabel;
	}

	public String getCellType() {
		return cellType;
	}


	public void setCellType(String cellType) {
		this.cellType = cellType;
	}

	public String getDbColumn() {
		return dbColumn;
	}
	
	public String getExcelLabel() {
		return excelLabel;
	}
	
	public String getCellValue() {
		return cellValue;
	}
	public void setCellValue(String cellValue) {
		this.cellValue = cellValue;
	}

	protected Object clone() throws CloneNotSupportedException{
		ExcelCellVo object = null;
		try {
//			object = (ExcelCellVo)super.clone();
//			object.dbColumn = this.cellValue
			object = new ExcelCellVo(dbColumn, excelLabel);
			object.setCellType(this.cellType);
		} catch (Exception e) {
            e.printStackTrace();
			Logger.logExceptions(this,e);
			throw new CloneNotSupportedException(e.getMessage());
		}
		return object;
	}
}
